package flex.cc.nursing.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import flex.cc.nursing.dao.NursingInterfaceLogDao;
import flex.cc.nursing.dto.entity.NursingInterfaceLogEntity;
import flex.cc.nursing.service.NursingInterfaceLogService;

/**
*
* @author WANGCONG
* 2022年3月23日下午13:42:27
* @desc 健康护理日志实现层
*/
@Service("nursingInterfaceLogService")
@Transactional(rollbackFor = Exception.class)
public class NursingInterfaceLogServiceImpl implements NursingInterfaceLogService {

	@Resource
	private NursingInterfaceLogDao logDao;
	
	/**
	 * 
	 * @author WANGCONG
	 * 2022年3月23日下午13:44:52
	 * @desc 保存
	 */
	@Override
	public int insert(NursingInterfaceLogEntity entity) {
		return logDao.insert(entity);
	}

}
